package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class SquareDetail {

    @JSONField(name = "current")
    private int current;
    @JSONField(name = "pages")
    private int pages;
    @JSONField(name = "records")
    private List<RecordsDTO> records;
    @JSONField(name = "size")
    private int size;
    @JSONField(name = "total")
    private int total;

    @NoArgsConstructor
    @Data
    public static class RecordsDTO {
        @JSONField(name = "addTime")
        private String addTime;
        @JSONField(name = "content")
        private String content;
        @JSONField(name = "follow")
        private boolean follow;
        @JSONField(name = "followerCount")
        private int followerCount;
        @JSONField(name = "id")
        private String id;
        @JSONField(name = "imgUrl")
        private String imgUrl;
        @JSONField(name = "imgUrls")
        private List<String> imgUrls;
        @JSONField(name = "memberUrl")
        private String memberUrl;
        @JSONField(name = "mid")
        private String mid;
        @JSONField(name = "nickname")
        private String nickname;
        @JSONField(name = "replyTime")
        private String replyTime;
    }
}
